package com.xuecheng.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xuecheng.dto.BindTeachplanMediaDTO;
import com.xuecheng.dto.SaveTeachplanDTO;
import com.xuecheng.po.Teachplan;
import com.xuecheng.po.TeachplanMedia;
import com.xuecheng.vo.TeachplanVO;

import java.util.List;


public interface TeachplanService extends IService<Teachplan> {
	
	List<TeachplanVO> findTeachplanTree(Long courseId);
	
	/**
	 * 保存课程计划(新增 / 修改)
	 */
	void saveTeachplan(SaveTeachplanDTO saveTeachplanDTO);
	
	/**
	 * 教学计划绑定媒资
	 */
	TeachplanMedia associationMedia(BindTeachplanMediaDTO bindTeachplanMediaDTO);
	
}
